﻿<!--
	========================================================================
	NQ Common Services Library

	Homepage: http://www.awzhome.de/
	========================================================================

	The contents of this file are subject to the Mozilla Public License
	Version 1.1 (the "License"); you may not use this file except in
	compliance with the License. You may obtain a copy of the License at
	http://www.mozilla.org/MPL/

	Software distributed under the License is distributed on an "AS IS"
	basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
	License for the specific language governing rights and limitations
	under the License.

	The Original Code is code of NQ Common Services Library.

	The Initial Developer of the Original Code is Andreas Weizel.
	Portions created by the Initial Developer are
	Copyright (C) 2006-2012 Andreas Weizel. All Rights Reserved.

	Contributor(s): (none)

	Alternatively, the contents of this file may be used under the terms
	of the GNU General Public License Version 2.0 or later (the "GPL"),
	or the GNU Lesser General Public License Version 2.1 or later (the
	"LGPL"), in which case the provisions of the GPL or the LGPL are
	applicable instead of those above. If you wish to allow use of your
	version of this file only under the terms of the GPL or the LGPL and
	not to allow others to use your version of this file under the MPL,
	indicate your decision by deleting the provisions above and replace
	them with the notice and other provisions required by the GPL or the
	LGPL. If you do not delete the provisions above, a recipient may use
	your version of this file under the terms of any of the MPL, the GPL
	or the LGPL.
	========================================================================
-->

<Window x:Class="AWZhome.NQ.CommonServices.Visual.AboutWindow"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:nqcs="clr-namespace:AWZhome.NQ.CommonServices;assembly=NQCommServ.Interface"
	Background="{x:Static SystemColors.ControlBrush}"
	Title="{nqcs:ResourceBinding Component=NQCS, Name=AboutDialog.Text}"
	WindowStyle="SingleBorderWindow"
	ResizeMode="NoResize"
	ShowInTaskbar="False"
	 TextOptions.TextFormattingMode="Display"
	x:ClassModifier="internal"
	Height="409" Width="595">
	<Grid>
		<Button Height="23" HorizontalAlignment="Right" Name="closeButton" VerticalAlignment="Bottom" Width="75" Margin="0,0,12,12" IsCancel="True">
			<nqcs:ResourceBinding Component="NQCS" Name="ButtonText.Close" />
		</Button>
		<TabControl Margin="12,12,12,41" Name="tabAbout">
			<TabItem Header="{nqcs:ResourceBinding Component=NQCS, Name=AboutDialog.Tabs.NQ}" Name="tabItemNQ" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch">
				<Grid>
					<Label Height="54" HorizontalAlignment="Left" Margin="27,16.006,0,0" Name="labelNQLogo" VerticalAlignment="Top" Width="64" FontSize="28" FontWeight="Bold">NQ</Label>
					<Label Height="28" Margin="131,42.006,16,0" Name="labelNQDesc" VerticalAlignment="Top" FontSize="12">
						<nqcs:ResourceBinding Component="NQCS" Name="AboutDialog.NQDesc" />
					</Label>
					<Label Height="28" Margin="27,93,25,0" Name="labelNQLicense" VerticalAlignment="Top">
						<nqcs:ResourceBinding Component="NQCS" Name="AboutDialog.License" />
					</Label>
					<Label Margin="27,0,25,40" Name="labelNQLicenseWarning" Height="27.723" VerticalAlignment="Bottom">
						<nqcs:ResourceBinding Component="NQCS" Name="AboutDialog.PluginLicenseWarning" />
					</Label>
					<Label Height="28" Margin="27,0,16,6" Name="labelNQCopyright" VerticalAlignment="Bottom" HorizontalContentAlignment="Right" FontStyle="Italic">
					</Label>
					<TextBlock Margin="42,127,25,74" Name="tblockLinks">
						<Hyperlink NavigateUri="http://www.mozilla.org/MPL/MPL-1.1.html" Click="Hyperlink_Click">Mozilla Public License (MPL)</Hyperlink><LineBreak /><LineBreak />
						<Hyperlink NavigateUri="http://www.gnu.org/licenses/gpl.html" Click="Hyperlink_Click">GNU General Public License (GPL)</Hyperlink><LineBreak /><LineBreak />
						<Hyperlink NavigateUri="http://www.gnu.org/licenses/lgpl.htm" Click="Hyperlink_Click">GNU Lesser General Public license (LGPL)</Hyperlink>
					</TextBlock>
				</Grid>
			</TabItem>
			<TabItem Header="{nqcs:ResourceBinding Component=NQCS, Name=AboutDialog.Tabs.Plugins}" Name="tabItemPlugins">
				<Grid>
					<ListBox HorizontalAlignment="Left" Margin="6,6,0,6" Name="listComponents" Width="176">
						<ListBox.ItemTemplate>
							<DataTemplate>
								<TextBlock Text="{Binding DisplayName}" VerticalAlignment="Center" />
							</DataTemplate>
						</ListBox.ItemTemplate>
					</ListBox>
					<TextBlock Height="28" Margin="198,26,257,0" Name="labelNameCap" VerticalAlignment="Top" FontWeight="Bold">
						<TextBlock.Text>
							<nqcs:ResourceBinding Component="NQCS" Name="AboutDialog.Name" />
						</TextBlock.Text>
					</TextBlock>
					<TextBlock FontWeight="Bold" Height="28" Margin="198,60,257,0" Name="labelVersionCap" VerticalAlignment="Top">
						<TextBlock.Text>
							<nqcs:ResourceBinding Component="NQCS" Name="AboutDialog.Version" />
						</TextBlock.Text>
					</TextBlock>
					<TextBlock FontWeight="Bold" Height="28" Margin="198,94,257,0" Name="labelCopyrightCap" VerticalAlignment="Top">
						<TextBlock.Text>
							<nqcs:ResourceBinding Component="NQCS" Name="AboutDialog.Copyright" />
						</TextBlock.Text>
					</TextBlock>
					<TextBlock FontWeight="Bold" Margin="198,128,257,135" VerticalAlignment="Top" Name="labelFileCap">
						<TextBlock.Text>
							<nqcs:ResourceBinding Component="NQCS" Name="AboutDialog.File" />
						</TextBlock.Text>
					</TextBlock>
					<TextBlock HorizontalAlignment="Right" Margin="0,26,16,0" Name="labelName" Width="235" Height="28" VerticalAlignment="Top">
						<TextBlock.Text>
							<Binding ElementName="listComponents" Path="SelectedItem.DisplayName" />
						</TextBlock.Text>
					</TextBlock>
					<TextBlock Height="28" HorizontalAlignment="Right" Margin="0,60,16,0" Name="labelVersion" VerticalAlignment="Top" Width="235">
						<TextBlock.Text>
							<Binding ElementName="listComponents" Path="SelectedItem.DisplayVersion" />
						</TextBlock.Text>
					</TextBlock>
					<TextBlock Height="28" HorizontalAlignment="Right" Margin="0,94,16,0" Name="labelCopyright" VerticalAlignment="Top" Width="235">
						<TextBlock.Text>
							<Binding ElementName="listComponents" Path="SelectedItem.Copyright" />
						</TextBlock.Text>
					</TextBlock>
					<TextBlock HorizontalAlignment="Right" Margin="0,128,16,70" Name="labelFile" Width="235" TextWrapping="Wrap">
						<TextBlock.Text>
							<Binding ElementName="listComponents" Path="SelectedItem.MainAssembly.Location" />
						</TextBlock.Text>
					</TextBlock>
				</Grid>
			</TabItem>
		</TabControl>
	</Grid>
</Window>
